package com.atguigu.oss.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * @Author panghl
 * @Date 2020/12/31 21:50
 * @Description OSS服务接口
 **/
public interface OssService {

    /**
     * 上传头像
     * @param file
     * @return
     */
    String uploadFileAvatar(MultipartFile file) throws IOException;
}
